package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.Banner;

import java.util.List;

public interface BannerService {
    //分页查询
    PageInfo<Banner> findByPage(Integer pageNum, Integer pageSize, String keyword);

    void save(Banner banner);

    Banner findById(Integer id);

    void deleteById(Integer id);

    void deleteIds(Integer[] ids);

    List<Banner> findBannerList();
}
